<!DOCTYPE html><html><head><title>国家分析</title><meta charset='utf-8'><link href='https://dn-maxiang.qbox.me/res-min/themes/marxico.css' rel='stylesheet'><style></style></head><body><div id='preview-contents' class='note-content'>
                        
                    



<h2 id="国家分析">国家分析</h2>

<blockquote>
  <p>共  <code>search</code> 一个接口</p>
</blockquote>

<hr>

<h3 id="search"><code>search</code></h3>

<p><strong>接口说明</strong> </p>

<pre class="prettyprint hljs-dark"><code class="hljs">根据请求条件，查询并返回结果<br></code></pre>

<p><strong>URL</strong></p>

<pre class="prettyprint hljs-dark"><code class="hljs crystal"><span class="hljs-symbol">http:</span>/<span class="hljs-regexp">/115.159.207.95:9080/game</span><span class="hljs-regexp">/countryGame/search</span>.<span class="hljs-keyword">do</span><br></code></pre>

<p><strong>请求参数</strong></p>

<pre class="prettyprint hljs-dark"><code class="hljs 1c"><span class="hljs-number">1</span>. dstart : <span class="hljs-string">"2017-06-01"</span>       <span class="hljs-meta"># 开始时间 </span><br><span class="hljs-number">2</span>. dend: <span class="hljs-string">"2017-06-07"</span>          <span class="hljs-meta"># 结束时间 </span><br><span class="hljs-number">3</span>. callback : <span class="hljs-string">""</span><br></code></pre>

<p><strong>返回参数</strong></p>

<pre class="prettyprint hljs-dark"><code class="hljs dts">{<br><span class="hljs-symbol">    res:</span> <span class="hljs-string">"0"</span>,<br><span class="hljs-symbol">    countryGameData:</span> [      <span class="hljs-meta"># 数据列表</span><br>        {<br>            countryid,            <span class="hljs-meta"># 国家</span><br>            countryNewRole,       <span class="hljs-meta"># 国家新增</span><br>            allNewRole,           <span class="hljs-meta"># 总新增</span><br>            国家比例: <span class="hljs-number">0</span>            <span class="hljs-meta"># 国家比例 countryNewRole / allNewRole，前端自行计算</span><br>        }<br>    ]<br>}<br></code></pre></div></body></html>